\hypertarget{class_k_m_p___matcher}{}\section{K\+M\+P\+\_\+\+Matcher$<$ T $>$ Class Template Reference}
\label{class_k_m_p___matcher}\index{K\+M\+P\+\_\+\+Matcher$<$ T $>$@{K\+M\+P\+\_\+\+Matcher$<$ T $>$}}


{\ttfamily \#include $<$kmp.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
std\+::vector$<$ unsigned $>$ \hyperlink{class_k_m_p___matcher_a22892fbaa4d2c09623587283c3e6f2b5}{match} (const std\+::vector$<$ T $>$ \&S, const std\+::vector$<$ T $>$ \&P)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_k_m_p___matcher_ab5b713d33b64bf5b4316c83389c625a2}{get\+Pi} (const std\+::vector$<$ T $>$ \&P)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
std\+::vector$<$ int $>$ \hyperlink{class_k_m_p___matcher_aa9f9d7ea70dd1c590bee7de00b25ffeb}{pi}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T$>$class K\+M\+P\+\_\+\+Matcher$<$ T $>$}



Definition at line 5 of file kmp.\+h.



\subsection{Member Function Documentation}
\hypertarget{class_k_m_p___matcher_ab5b713d33b64bf5b4316c83389c625a2}{}\index{K\+M\+P\+\_\+\+Matcher@{K\+M\+P\+\_\+\+Matcher}!get\+Pi@{get\+Pi}}
\index{get\+Pi@{get\+Pi}!K\+M\+P\+\_\+\+Matcher@{K\+M\+P\+\_\+\+Matcher}}
\subsubsection[{get\+Pi(const std\+::vector$<$ T $>$ \&\+P)}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void {\bf K\+M\+P\+\_\+\+Matcher}$<$ T $>$\+::get\+Pi (
\begin{DoxyParamCaption}
\item[{const std\+::vector$<$ T $>$ \&}]{P}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}}\label{class_k_m_p___matcher_ab5b713d33b64bf5b4316c83389c625a2}


Definition at line 42 of file kmp.\+h.

\hypertarget{class_k_m_p___matcher_a22892fbaa4d2c09623587283c3e6f2b5}{}\index{K\+M\+P\+\_\+\+Matcher@{K\+M\+P\+\_\+\+Matcher}!match@{match}}
\index{match@{match}!K\+M\+P\+\_\+\+Matcher@{K\+M\+P\+\_\+\+Matcher}}
\subsubsection[{match(const std\+::vector$<$ T $>$ \&\+S, const std\+::vector$<$ T $>$ \&\+P)}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ std\+::vector$<$unsigned$>$ {\bf K\+M\+P\+\_\+\+Matcher}$<$ T $>$\+::match (
\begin{DoxyParamCaption}
\item[{const std\+::vector$<$ T $>$ \&}]{S, }
\item[{const std\+::vector$<$ T $>$ \&}]{P}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{class_k_m_p___matcher_a22892fbaa4d2c09623587283c3e6f2b5}


Definition at line 8 of file kmp.\+h.



\subsection{Member Data Documentation}
\hypertarget{class_k_m_p___matcher_aa9f9d7ea70dd1c590bee7de00b25ffeb}{}\index{K\+M\+P\+\_\+\+Matcher@{K\+M\+P\+\_\+\+Matcher}!pi@{pi}}
\index{pi@{pi}!K\+M\+P\+\_\+\+Matcher@{K\+M\+P\+\_\+\+Matcher}}
\subsubsection[{pi}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ std\+::vector$<$int$>$ {\bf K\+M\+P\+\_\+\+Matcher}$<$ T $>$\+::pi\hspace{0.3cm}{\ttfamily [private]}}\label{class_k_m_p___matcher_aa9f9d7ea70dd1c590bee7de00b25ffeb}


Definition at line 72 of file kmp.\+h.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/string\+\_\+matching\+\_\+algorithms/kmp\+\_\+match/\hyperlink{kmp_8h}{kmp.\+h}\end{DoxyCompactItemize}
